<?php /* Smarty version Smarty-3.1.21-dev, created on 2015-05-15 14:03:43
         compiled from "C:\wamp\www\project.adm.uppii\admin\aplications\views\tabs\tablist.tpl" */ ?>
<?php /*%%SmartyHeaderCode:157035550dfecf299a5-97818525%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '0282a6cbdaa3f11391ceb0f731b458374a413954' => 
    array (
      0 => 'C:\\wamp\\www\\project.adm.uppii\\admin\\aplications\\views\\tabs\\tablist.tpl',
      1 => 1431709423,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '157035550dfecf299a5-97818525',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.21-dev',
  'unifunc' => 'content_5550dfecf2d824_36942279',
  'variables' => 
  array (
    'listTabs' => 0,
    'tabs' => 0,
    'linkRoute' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5550dfecf2d824_36942279')) {function content_5550dfecf2d824_36942279($_smarty_tpl) {?><div class='row'>
    <div class='col-md-12'>
        <section class='widget'>
            <header class='widget-header clearfix bg-primary'>
                <div class='pull-left'>
                    <h4>Conteudo em categorias(ABA/ANCORA)</h4>
                    <small>Separe seu conteudo categorias e adicione em suas paginas</small>
                </div>
                <div class='pull-right'>
                    <a href='#frm_create' class='btn btn-default'>
                        <i class='el el-plus-sign'></i>
                        <span>Criar novo</span>
                    </a>
                </div>
            </header>
            <div class='widget-content'>
                <table class="table table-bordered table-striped">
                    <thead>
                        <tr>
                            <td>Nome</td>
                            <td>ShortCode</td>
                            <td>Opera&ccedil;&otilde;es</td>
                        </tr>
                    </thead>
                    <tbody id='tabs_list'>
                    <?php  $_smarty_tpl->tpl_vars['tabs'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tabs']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['listTabs']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['tabs']->key => $_smarty_tpl->tpl_vars['tabs']->value) {
$_smarty_tpl->tpl_vars['tabs']->_loop = true;
?>
                        <tr>
                            <td><?php echo $_smarty_tpl->tpl_vars['tabs']->value['registro_tabs'];?>
</td>
                            <td><?php echo $_smarty_tpl->tpl_vars['tabs']->value['shortcode_tabs'];?>
</td>
                            <td>
                                <div class='btn-group'>
                                    <a class='btn btn-primary' href='<?php echo $_smarty_tpl->tpl_vars['linkRoute']->value;?>
/edit/<?php echo $_smarty_tpl->tpl_vars['tabs']->value['id'];?>
' >
                                        <i class='el el-edit'></i>
                                        Editar
                                    </a>
                                    <a class='btn btn-danger deltabs' href='javascript:;' data-id='<?php echo $_smarty_tpl->tpl_vars['tabs']->value['id'];?>
' data-table='cms_tabs'>
                                        <i class='el el-trash'></i>
                                        Apagar
                                    </a>
                                </div>
                            </td>
                        </tr>
                    <?php }
if (!$_smarty_tpl->tpl_vars['tabs']->_loop) {
?>
                        <tr>
                            <td colspan="3">Nao existem conteudos em abas</td>
                        </tr>
                    <?php } ?>
                    </tbody>
                </table>
            </div>
        </section>
    </div>                 
</div>
                    

<div  class="remodal-bg">
    <div id='frm_create' data-remodal-id='frm_create' class='remodal'>
        <form id="frm_add_tab_shortcode" method="post" id='frm_new_tab' action='<?php echo $_smarty_tpl->tpl_vars['linkRoute']->value;?>
/addnew'>
            <div class='form-group'>
                <label>Indentifique seu conteudo</label>
                <input type="text" name='registro_tabs' id='registro_tabs' class='form-control'>
            </div>
            <div>
                <button type="submit" class="btn btn-block btn-primary">
                    <i class='ion ion-ios-checkmark'></i>
                    <span>Criar</span>
                </button>
                <div id="loadProcessTab" style="display:none; margin-top:15px;">
                    <i class='ion ion-load-c fa-spin'></i>
                    <em>Por favor aguarde...</em>
                </div>
            </div>
        </form>
    </div>
</div><?php }} ?>
